package com.outsourcingmanagesystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("work_hours")
public class WorkHour {

    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;


    @TableField("user_id")
    private Integer userId;

    private Integer hours;


    @TableField("created_time")
    private LocalDateTime createdTime;

    @TableField("end_time")
    private LocalDateTime endTime;

    @TableField("status")
    private Byte status;
}
